FROM eclipse-temurin:17.0.13_11-jre
WORKDIR /app
COPY *.jar app.jar
EXPOSE 10001
ENV JAVA_HOME=/opt/java/openjdk
ENV PATH="${JAVA_HOME}/bin:${PATH}"
ENTRYPOINT ["java", "-jar", "app.jar"]